import request from '@/utils/request'
//分类
export function queryZyPage(data) {
  return request({
    url: '/wuzizy/queryWuzizyPage',
    method: 'post',
    data,
  })
}
//分类
export function queryZyList(data) {
  return request({
    url: '/wuzizy/queryWuzizyList',
    method: 'post',
    data,
  })
}


export function insertZy(data) {
  return request({
    url: '/wuzizy/insertWuzizy',
    method: 'post',
    data,
  })
}
export function queryZyById(data) {
  return request({
    url: '/wuzizy/queryWuzizyById',
    method: 'post',
    headers: { 'content-Type': 'multipart/form-data' },
    data,
  })
}

export function deleteZyById(data) {
  return request({
    url: '/wuzizy/deleteWuzizyById',
    method: 'post',
    data,
    headers: { 'content-Type': 'multipart/form-data' },
  })
}
